Get premium membership and access questions with answers, video lessons as well as revision papers.

The following program will not compile as a C++ program.why not? #include using namespace std; int main() {(); return 0; } void f() { cout <<"this wont work"; }

      

The following program will not compile as a C++ program.why not?
#include
using namespace std;
int main()
{
f();
return 0;
}
void f()
{
cout <<"this wont work";
}

  

Answers


Davis
The function f() is not prototyped
Githiari answered the question on February 18, 2018 at 10:35


Next: Give circumstances under which the president of Kenya may exercise prerogative of mercy
Previous: Give the use of the following manipulators in a computer program. i)endl ii)ends

View More Computer Studies Questions and Answers | Return to Questions Index


Learn High School English on YouTube

Related Questions